#pragma once
#include "InterFaceComposite.h"
#include <QString>


class LeafComponent : public Leaf
{
public:
    LeafComponent(QString strName);
    ~LeafComponent();


public:

    // 通过 Leaf 继承
    void operation() override;

private:

    //节点名称;
    QString m_strName;
};

